package com.wo.cloud.core.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author liry
 * @version 1.0
 * @date Created on 2021/4/26 16:52
 * Description: 租户实体类 基础类
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class TenantEntity extends BaseEntity {

    /**
     * 租户ID
     */
    @ApiModelProperty(value = "租户ID")
    @TableField(value = "tenant_id", fill = FieldFill.INSERT)
    private String tenantId;
}
